<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-1">{:__('Taobaoname')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-taobaoname" data-rule="required" class="form-control" name="row[taobaoname]" type="text" value="{$row.taobaoname}">
        </div>
        <label class="control-label col-xs-12 col-sm-1">{:__('所属公司')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-ownedcompany" data-rule="" class="form-control" name="row[ownedcompany]" type="text" value="{$row.ownedcompany}">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-1">{:__('Idnumber')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-idnumber" data-rule="required;IDcard" class="form-control" name="row[idnumber]" type="text" value="{$row.idnumber}">
        </div>
        <label class="control-label col-xs-12 col-sm-1">{:__('客户姓名')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
        <label class="control-label col-xs-12 col-sm-1">{:__('客户电话')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-mobile" data-rule="required;mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-1">{:__('Payyear')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-payyear" data-rule="required" class="form-control" name="row[payyear]" type="text" value="{$row.payyear}">
        </div>
        <label class="control-label col-xs-12 col-sm-1">{:__('Sbbase')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-sbbase" data-rule="required"  class="form-control " name="row[sbbase]" type="number" value="{$row.sbbase}">
        </div>
        <label class="control-label col-xs-12 col-sm-1">{:__('Gjjbase')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-gjjbase" data-rule="required" class="form-control " name="row[gjjbase]" type="number" value="{$row.gjjbase}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-1">{:__('R_wages')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-r_wages" data-rule=""  class="form-control valuechanged" name="row[r_wages]" type="number" value="{$row.r_wages}">
        </div>

        <label class="control-label col-xs-12 col-sm-1">{:__('Tax')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-tax" data-rule=""  class="form-control" name="row[tax]" type="number" value="{$row.tax}">
        </div>

        <label class="control-label col-xs-12 col-sm-1">{:__('Y_wages')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-totalwages" data-rule=""  class="form-control" name="row[totalwages]" type="number" value="{$row.totalwages}">
        </div>

    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-1">{:__('银行卡号')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-bankcardnumber" data-rule="required" class="form-control" name="row[bankcardnumber]" type="text" value="{$row.bankcardnumber}">
        </div>
    </div>

    <div class="form-group">

        <label class="control-label col-xs-12 col-sm-1">{:__('Agencyfees')}:</label>
        <div class="col-xs-12 col-sm-2">
            <textarea id="c-agencyfees" class="form-control " rows="2" name="row[agencyfees]" cols="50">{$row.agencyfees}</textarea>
        </div>

        <label class="control-label col-xs-12 col-sm-2 add-spec">{:__('操作年月')}:</label>
        <div class="col-xs-4 col-sm-2 add-spec">
            <input id="c-opyear" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM" data-use-current="true" name="row[opyear]" type="text" value="{$row.opyear}">
        </div>

        <label class="control-label col-xs-6 col-sm-2">{:__('Preprocessing')}:</label>
        <div class="col-xs-6 col-sm-1">
            <input type="checkbox" name="row[preprocessing]" {if !empty($row.preprocessing)} checked="checked" {/if} value="是" style="height: 35px;margin-top: -2px; margin-bottom: 1px; vertical-align: middle;">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">审核</button>
        </div>
    </div>
</form>


